package com.zx.erp.purchase.service;

import com.github.pagehelper.PageInfo;
import com.github.pagehelper.PageSerializable;
import com.zx.erp.market.bean.Custom;
import com.zx.erp.purchase.bean.CType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
public interface CTypeService extends IService<CType> {
    public List<CType> selecttype(CType cType);


    List<CType> findbyBrandId(Integer brandid);

    /**
     * 查询所有
     * @param cType
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageInfo<CType> findAll(CType cType, Integer pageNo, Integer pageSize);
}
